package com.yjm.tb.model;


public class TbConfig {
private int level = 0;

private boolean isAutoUpdate  = true;

private boolean isNetworkGood = true;

private boolean enableAudio  = false;

private String downloadUrl   = "http://www.myapp.com/downcenter/a/796064?g_f=990935"; 

public String getDownloadUrl() {
	return downloadUrl;
}

public void setDownloadUrl(String downloadUrl) {
	this.downloadUrl = downloadUrl;
}

public boolean isEnableAudio() {
	return enableAudio;
}

public void setEnableAudio(boolean enableAudio) {
	this.enableAudio = enableAudio;
}

public boolean isNetworkGood() {
	return isNetworkGood;
}

public void setNetworkGood(boolean isNetworkGood) {
	this.isNetworkGood = isNetworkGood;
}

private static TbConfig config = null;

private TbConfig() {}

public static TbConfig getInstance(){
	if (config == null) {
		config = new TbConfig();
	}
		
	return config;
}
public int getLevel() {
	return level;
}

public void setLevel(int level) {
	this.level = level;
}

public boolean isAutoUpdate() {
	return isAutoUpdate;
}

public void setAutoUpdate(boolean isAutoUpdate) {
	this.isAutoUpdate = isAutoUpdate;
}





}
